-- constantine
-- created by xinj
-- 地狱神探

return {
    fetchProps = function(who, status, condition)
        local props    = {};
        local endRound = condition["end_round"];

        -- 对怪物伤害加成
        local propId = PropM.getPropId("target_damage");
        local value  = condition["value"];
        local monsters = condition["monster_id"];

        for _, id in pairs(monsters) do
            table.insert(props, { propId, id, value, endRound, } );
        end

        return props;
    end,

    desc = function(who, status, condition)
        -- 获取状态描述
        local cfg = CombatStatusM.getStatusInfo(status);
        local desc = cfg.desc;

        -- 加成值
        local value  = condition["value"];
        desc = string.gsub(desc, "{value}", value / 10);

        return desc;
    end,
};
